TDirectionSampler Class Reference

List of all members.

Public Member Functions

 TDirectionSampler (const int32 quality)
 ~TDirectionSampler ()

Protected Member Functions

void SampleArea (const TMCPoint &position, int32 level, const real threshold)
void SampleGrid ()
TMCColorRGBA AverageLighting ()
virtual void SampleDirection (const TMCPoint &position)=0
GridSample & GetSample (const TMCPoint &position)
int32 GetSampleOffset (const TMCPoint &position)
void InterpolateOrSample (const TMCPoint &position, const GridSample &leftSample, const GridSample &rightSample, const real threshold)
void InterpolateColor (const TMCPoint &position, int32 size)

Protected Attributes

int32 fMaxDepth
TMCClassArray< GridSample > fGrid
TMCArray< boolean > fHasBeenSampled
int32 fSamplePerLine
real fDeltaX
real fDeltaY
int32 fQuality

Classes

struct  GridSample

Constructor & Destructor Documentation

TDirectionSampler::TDirectionSampler (  const int32  quality  ) 
 

TDirectionSampler::~TDirectionSampler (   ) 
 


Member Function Documentation

TMCColorRGBA TDirectionSampler::AverageLighting (   )  [protected]
 

GridSample& TDirectionSampler::GetSample (  const TMCPoint &  position  )  [inline, protected]
 

int32 TDirectionSampler::GetSampleOffset (  const TMCPoint &  position  )  [inline, protected]
 

void TDirectionSampler::InterpolateColor (  const TMCPoint &  position,
int32  size
)  [protected]
 

void TDirectionSampler::InterpolateOrSample (  const TMCPoint &  position,
const GridSample &  leftSample,
const GridSample &  rightSample,
const real  threshold
)  [protected]
 

void TDirectionSampler::SampleArea (  const TMCPoint &  position,
int32  level,
const real  threshold
)  [protected]
 

virtual void TDirectionSampler::SampleDirection (  const TMCPoint &  position  )  [protected, pure virtual]
 

void TDirectionSampler::SampleGrid (   )  [protected]
 


Member Data Documentation

real TDirectionSampler::fDeltaX [protected]
 

real TDirectionSampler::fDeltaY [protected]
 

TMCClassArray< GridSample > TDirectionSampler::fGrid [protected]
 

TMCArray<boolean> TDirectionSampler::fHasBeenSampled [protected]
 

int32 TDirectionSampler::fMaxDepth [protected]
 

int32 TDirectionSampler::fQuality [protected]
 

int32 TDirectionSampler::fSamplePerLine [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Dec 7 14:27:45 2005 for Carrara SDK Doc by  doxygen 1.4.5